package com.cloudalibabaseataorder10088.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 库存表
 * </p>
 *
 * @author zx
 * @since 2024-12-06
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("stock")
public class Stock implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;

    /**
     * 商品编号
     */
    @TableField("goods_num")
    private String goodsNum;

    /**
     * 商品库存数量
     */
    @TableField("goods_count")
    private Integer goodsCount;

    /**
     * 商品价格
     */
    @TableField("goods_price")
    private Integer goodsPrice;


}
